from django.http import HttpResponse, HttpResponseRedirect
from django.template.loader import get_template
from django.template import Context
from pms.task_management.models import *


def list(request):
   t = get_template('trend/list.html') 
   items = HistoryItem.objects.all()

   return HttpResponse(t.render(Context({'items': items})))

